/**
 * Test.java
 * class pou proorizete gia test tou programatos.
 */

package chess;

import javax.swing.JFrame;
import javax.swing.JOptionPane;
import javax.swing.JPanel;

public class Tester extends JPanel{
    public static void main(String args[]){
        //test moving one piece to see if i can
        JOptionPane.showInputDialog("Testing move for a Black Pawn");
        ChessBoardCreator test = new ChessBoardCreator();
        MenuFrame menuFrame = new MenuFrame();
        menuFrame.setSize(800, 700);
        menuFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        menuFrame.setResizable(false);
        menuFrame.add(test.setPieces());
        menuFrame.setVisible(true);
        test.sqrs[1][0].removePiece();
        test.sqrs[2][0].addPiece(new Piece("/home/dimitris/CSD/3rd_Semister/Java/ProjectForJava/branches/Kevins_Branch/Chess/src/chess/Brook.png"));
    }
}